package com.wave.spring;

import com.wave.spring.anno.CombinationConfiguration;
import com.wave.spring.config.ELConfig;
import jmind.base.util.reflect.ClassUtil;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Created by lv on 2017/8/26.
 */
//@EnableScheduling
//@EnableAsync
//@ComponentScan("com.wave.spring")
//@Configuration
public class StartUp {
    public static void main(String[] args) {
    //    AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(StartUp.class);
//        ELConfig elConfig = context.getBean(ELConfig.class);
//        elConfig.output();
        String domain= ClassUtil.getProtectionDomain("com.mysql.cj.jdbc.Driver");
        System.err.println("domain="+domain);
    }
}
